#include "Goose.h"
#include "Game.h"

Goose::Goose(Game *game, const char *pathImage, double scaleRate)
	:Poulty(game, pathImage,scaleRate) 
{
	setType(KindOfObject::kGoose);
	rect.sdlRect.x = rand() % (SCREEN_WIDTH - rect.sdlRect.w);
	rect.sdlRect.y = game->fence.rect.sdlRect.y - rect.sdlRect.h ;
}
void Goose::draw()
{
	Poulty::draw();
}
void Goose::update()
{
	Poulty::update();
}